<template>
  <div class="steps van-cell">
    <van-steps :active="Number(element.active)">
      <van-step v-for="item in element.stepList" :key="item.value">{{element.label}}</van-step>
    </van-steps>
  </div>
</template>

<script>
export default {
  name: 'steps',
  inject: [
    'element'
  ],
  data() {
    return {
    }
  }
}
</script>

<style lang="scss" scoped>
.steps {
  .van-steps  {
  width: 100%;
}
}

</style>